<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>parse_options</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" title="Chapter 1. Boost.JSON">
<link rel="up" href="../ref.html" title="This Page Intentionally Left Blank 2/2">
<link rel="prev" href="boost__json__object_kind_t.html" title="object_kind_t">
<link rel="next" href="boost__json__parse_options/max_depth.html" title="parse_options::max_depth">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="boost__json__object_kind_t.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="boost__json__parse_options/max_depth.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="json.ref.boost__json__parse_options"></a><a class="link" href="boost__json__parse_options.html" title="parse_options">parse_options</a>
</h4></div></div></div>
<p>
        Parser options.
      </p>
<h5>
<a name="json.ref.boost__json__parse_options.h0"></a>
        <span class="phrase"><a name="json.ref.boost__json__parse_options.synopsis"></a></span><a class="link" href="boost__json__parse_options.html#json.ref.boost__json__parse_options.synopsis">Synopsis</a>
      </h5>
<p>
        Defined in header <code class="literal">&lt;<a href="https://github.com/cppalliance/json/blob/master/include/boost/json/parse_options.hpp" target="_top">boost/json/parse_options.hpp</a>&gt;</code>
      </p>
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">parse_options</span>
</pre>
<h5>
<a name="json.ref.boost__json__parse_options.h1"></a>
        <span class="phrase"><a name="json.ref.boost__json__parse_options.data_members"></a></span><a class="link" href="boost__json__parse_options.html#json.ref.boost__json__parse_options.data_members">Data
        Members</a>
      </h5>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
                <p>
                  Name
                </p>
              </th>
<th>
                <p>
                  Description
                </p>
              </th>
</tr></thead>
<tbody>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__parse_options/allow_comments.html" title="parse_options::allow_comments">allow_comments</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Non-standard extension option.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__parse_options/allow_invalid_utf8.html" title="parse_options::allow_invalid_utf8">allow_invalid_utf8</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Non-standard extension option.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__parse_options/allow_trailing_commas.html" title="parse_options::allow_trailing_commas">allow_trailing_commas</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Non-standard extension option.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <span class="bold"><strong><a class="link" href="boost__json__parse_options/max_depth.html" title="parse_options::max_depth">max_depth</a></strong></span>
                </p>
              </td>
<td>
                <p>
                  Maximum nesting level of arrays and objects.
                </p>
              </td>
</tr>
</tbody>
</table></div>
<h5>
<a name="json.ref.boost__json__parse_options.h2"></a>
        <span class="phrase"><a name="json.ref.boost__json__parse_options.description"></a></span><a class="link" href="boost__json__parse_options.html#json.ref.boost__json__parse_options.description">Description</a>
      </h5>
<p>
        This structure is used for specifying maximum parsing depth, and whether
        to allow various non-standard extensions. Default-constructed options set
        maximum parsing depth to 32 and specify that only standard JSON is allowed,
      </p>
<h5>
<a name="json.ref.boost__json__parse_options.h3"></a>
        <span class="phrase"><a name="json.ref.boost__json__parse_options.see_also"></a></span><a class="link" href="boost__json__parse_options.html#json.ref.boost__json__parse_options.see_also">See
        Also</a>
      </h5>
<p>
        <a class="link" href="boost__json__basic_parser.html" title="basic_parser"><code class="computeroutput"><span class="identifier">basic_parser</span></code></a>,
        <a class="link" href="boost__json__parser.html" title="parser"><code class="computeroutput"><span class="identifier">parser</span></code></a>.
      </p>
<p>
        Convenience header <code class="literal">&lt;<a href="https://github.com/cppalliance/json/blob/master/include/boost/json.hpp" target="_top">boost/json.hpp</a>&gt;</code>
      </p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2019, 2020 Vinnie Falco<br>Copyright © 2020 Krystian Stasiowski<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="boost__json__object_kind_t.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="boost__json__parse_options/max_depth.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
